package org.keyyond.ms.scheduler.jobs;

import org.keyyond.ms.scheduler.service.NCJobService;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

@DisallowConcurrentExecution //非并发执行
public class NCXsddSendJob implements BaseJob{
	@Autowired
	private NCJobService ncJobService ;

	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		try {
			ncJobService.doSendXsddToNc();
		} catch (Exception e) {
			// TODO: handle exception
			System.out.println("NCXsddSendJob!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
		}
		
	}
	
	
}
